Optimal. Leaf size=263 \[ -\frac {b^2 e^2 \text {Li}_2\left (1-\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )}{d}+a b^2 e^2 x-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \log \left (\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )^2}{d}+\frac {b^3 e^2 \text {Li}_3\left (1-\frac {2}{-c-d x+1}\right )}{2 d}+\frac {b^3 e^2 \log \left (1-(c+d x)^2\right )}{2 d}+\frac {b^3 e^2 (c+d x) \tanh ^{-1}(c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.47, antiderivative size = 263, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 11, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.478, Rules used = {6107, 12, 5916, 5980, 5910, 260, 5948, 5984, 5918, 6058, 6610} \[ -\frac {b^2 e^2 \text {PolyLog}\left (2,1-\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )}{d}+\frac {b^3 e^2 \text {PolyLog}\left (3,1-\frac {2}{-c-d x+1}\right )}{2 d}+a b^2 e^2 x-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \log \left (\frac {2}{-c-d x+1}\right ) \left (a+b \tanh ^{-1}(c+d x)\right )^2}{d}+\frac {b^3 e^2 \log \left (1-(c+d x)^2\right )}{2 d}+\frac {b^3 e^2 (c+d x) \tanh ^{-1}(c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 260
Rule 5910
Rule 5916
Rule 5918
Rule 5948
Rule 5980
Rule 5984
Rule 6058
Rule 6107
Rule 6610
Rubi steps
\begin {align*} \int (c e+d e x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3 \, dx &=\frac {\operatorname {Subst}\left (\int e^2 x^2 \left (a+b \tanh ^{-1}(x)\right )^3 \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 \operatorname {Subst}\left (\int x^2 \left (a+b \tanh ^{-1}(x)\right )^3 \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {\left (b e^2\right ) \operatorname {Subst}\left (\int \frac {x^3 \left (a+b \tanh ^{-1}(x)\right )^2}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {\left (b e^2\right ) \operatorname {Subst}\left (\int x \left (a+b \tanh ^{-1}(x)\right )^2 \, dx,x,c+d x\right )}{d}-\frac {\left (b e^2\right ) \operatorname {Subst}\left (\int \frac {x \left (a+b \tanh ^{-1}(x)\right )^2}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {\left (b e^2\right ) \operatorname {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right )^2}{1-x} \, dx,x,c+d x\right )}{d}-\frac {\left (b^2 e^2\right ) \operatorname {Subst}\left (\int \frac {x^2 \left (a+b \tanh ^{-1}(x)\right )}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2 \log \left (\frac {2}{1-c-d x}\right )}{d}+\frac {\left (b^2 e^2\right ) \operatorname {Subst}\left (\int \left (a+b \tanh ^{-1}(x)\right ) \, dx,x,c+d x\right )}{d}-\frac {\left (b^2 e^2\right ) \operatorname {Subst}\left (\int \frac {a+b \tanh ^{-1}(x)}{1-x^2} \, dx,x,c+d x\right )}{d}+\frac {\left (2 b^2 e^2\right ) \operatorname {Subst}\left (\int \frac {\left (a+b \tanh ^{-1}(x)\right ) \log \left (\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=a b^2 e^2 x-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2 \log \left (\frac {2}{1-c-d x}\right )}{d}-\frac {b^2 e^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_2\left (1-\frac {2}{1-c-d x}\right )}{d}+\frac {\left (b^3 e^2\right ) \operatorname {Subst}\left (\int \tanh ^{-1}(x) \, dx,x,c+d x\right )}{d}+\frac {\left (b^3 e^2\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2\left (1-\frac {2}{1-x}\right )}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=a b^2 e^2 x+\frac {b^3 e^2 (c+d x) \tanh ^{-1}(c+d x)}{d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2 \log \left (\frac {2}{1-c-d x}\right )}{d}-\frac {b^2 e^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_2\left (1-\frac {2}{1-c-d x}\right )}{d}+\frac {b^3 e^2 \text {Li}_3\left (1-\frac {2}{1-c-d x}\right )}{2 d}-\frac {\left (b^3 e^2\right ) \operatorname {Subst}\left (\int \frac {x}{1-x^2} \, dx,x,c+d x\right )}{d}\\ &=a b^2 e^2 x+\frac {b^3 e^2 (c+d x) \tanh ^{-1}(c+d x)}{d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {b e^2 (c+d x)^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2}{2 d}+\frac {e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}+\frac {e^2 (c+d x)^3 \left (a+b \tanh ^{-1}(c+d x)\right )^3}{3 d}-\frac {b e^2 \left (a+b \tanh ^{-1}(c+d x)\right )^2 \log \left (\frac {2}{1-c-d x}\right )}{d}+\frac {b^3 e^2 \log \left (1-(c+d x)^2\right )}{2 d}-\frac {b^2 e^2 \left (a+b \tanh ^{-1}(c+d x)\right ) \text {Li}_2\left (1-\frac {2}{1-c-d x}\right )}{d}+\frac {b^3 e^2 \text {Li}_3\left (1-\frac {2}{1-c-d x}\right )}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.74, size = 336, normalized size = 1.28 \[ \frac {e^2 \left (2 a^3 (c+d x)^3+3 a^2 b (c+d x)^2+3 a^2 b \log \left (1-(c+d x)^2\right )+6 a^2 b (c+d x)^3 \tanh ^{-1}(c+d x)+6 a b^2 \left (\text {Li}_2\left (-e^{-2 \tanh ^{-1}(c+d x)}\right )+(c+d x)^3 \tanh ^{-1}(c+d x)^2+(c+d x)^2 \tanh ^{-1}(c+d x)-\tanh ^{-1}(c+d x)^2-\tanh ^{-1}(c+d x)-2 \tanh ^{-1}(c+d x) \log \left (e^{-2 \tanh ^{-1}(c+d x)}+1\right )+c+d x\right )+b^3 \left (6 \tanh ^{-1}(c+d x) \text {Li}_2\left (-e^{-2 \tanh ^{-1}(c+d x)}\right )+3 \text {Li}_3\left (-e^{-2 \tanh ^{-1}(c+d x)}\right )-6 \log \left (\frac {1}{\sqrt {1-(c+d x)^2}}\right )+2 (c+d x) \tanh ^{-1}(c+d x)^3-2 (c+d x) \left (1-(c+d x)^2\right ) \tanh ^{-1}(c+d x)^3-2 \tanh ^{-1}(c+d x)^3-3 \left (1-(c+d x)^2\right ) \tanh ^{-1}(c+d x)^2+6 (c+d x) \tanh ^{-1}(c+d x)-6 \tanh ^{-1}(c+d x)^2 \log \left (e^{-2 \tanh ^{-1}(c+d x)}+1\right )\right )\right )}{6 d} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.65, size = 0, normalized size = 0.00 \[ {\rm integral}\left (a^{3} d^{2} e^{2} x^{2} + 2 \, a^{3} c d e^{2} x + a^{3} c^{2} e^{2} + {\left (b^{3} d^{2} e^{2} x^{2} + 2 \, b^{3} c d e^{2} x + b^{3} c^{2} e^{2}\right )} \operatorname {artanh}\left (d x + c\right )^{3} + 3 \, {\left (a b^{2} d^{2} e^{2} x^{2} + 2 \, a b^{2} c d e^{2} x + a b^{2} c^{2} e^{2}\right )} \operatorname {artanh}\left (d x + c\right )^{2} + 3 \, {\left (a^{2} b d^{2} e^{2} x^{2} + 2 \, a^{2} b c d e^{2} x + a^{2} b c^{2} e^{2}\right )} \operatorname {artanh}\left (d x + c\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.86, size = 1768, normalized size = 6.72 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {1}{3} \, a^{3} d^{2} e^{2} x^{3} + a^{3} c d e^{2} x^{2} + \frac {3}{2} \, {\left (2 \, x^{2} \operatorname {artanh}\left (d x + c\right ) + d {\left (\frac {2 \, x}{d^{2}} - \frac {{\left (c^{2} + 2 \, c + 1\right )} \log \left (d x + c + 1\right )}{d^{3}} + \frac {{\left (c^{2} - 2 \, c + 1\right )} \log \left (d x + c - 1\right )}{d^{3}}\right )}\right )} a^{2} b c d e^{2} + \frac {1}{2} \, {\left (2 \, x^{3} \operatorname {artanh}\left (d x + c\right ) + d {\left (\frac {d x^{2} - 4 \, c x}{d^{3}} + \frac {{\left (c^{3} + 3 \, c^{2} + 3 \, c + 1\right )} \log \left (d x + c + 1\right )}{d^{4}} - \frac {{\left (c^{3} - 3 \, c^{2} + 3 \, c - 1\right )} \log \left (d x + c - 1\right )}{d^{4}}\right )}\right )} a^{2} b d^{2} e^{2} + a^{3} c^{2} e^{2} x + \frac {3 \, {\left (2 \, {\left (d x + c\right )} \operatorname {artanh}\left (d x + c\right ) + \log \left (-{\left (d x + c\right )}^{2} + 1\right )\right )} a^{2} b c^{2} e^{2}}{2 \, d} - \frac {{\left (b^{3} d^{3} e^{2} x^{3} + 3 \, b^{3} c d^{2} e^{2} x^{2} + 3 \, b^{3} c^{2} d e^{2} x + {\left (c^{3} e^{2} - e^{2}\right )} b^{3}\right )} \log \left (-d x - c + 1\right )^{3} - 3 \, {\left (2 \, a b^{2} d^{3} e^{2} x^{3} + {\left (6 \, a b^{2} c d^{2} e^{2} + b^{3} d^{2} e^{2}\right )} x^{2} + 2 \, {\left (3 \, a b^{2} c^{2} d e^{2} + b^{3} c d e^{2}\right )} x + {\left (b^{3} d^{3} e^{2} x^{3} + 3 \, b^{3} c d^{2} e^{2} x^{2} + 3 \, b^{3} c^{2} d e^{2} x + {\left (c^{3} e^{2} + e^{2}\right )} b^{3}\right )} \log \left (d x + c + 1\right )\right )} \log \left (-d x - c + 1\right )^{2}}{24 \, d} - \int -\frac {{\left (b^{3} d^{3} e^{2} x^{3} + {\left (3 \, c d^{2} e^{2} - d^{2} e^{2}\right )} b^{3} x^{2} + {\left (3 \, c^{2} d e^{2} - 2 \, c d e^{2}\right )} b^{3} x + {\left (c^{3} e^{2} - c^{2} e^{2}\right )} b^{3}\right )} \log \left (d x + c + 1\right )^{3} + 6 \, {\left (a b^{2} d^{3} e^{2} x^{3} + {\left (3 \, c d^{2} e^{2} - d^{2} e^{2}\right )} a b^{2} x^{2} + {\left (3 \, c^{2} d e^{2} - 2 \, c d e^{2}\right )} a b^{2} x + {\left (c^{3} e^{2} - c^{2} e^{2}\right )} a b^{2}\right )} \log \left (d x + c + 1\right )^{2} - {\left (4 \, a b^{2} d^{3} e^{2} x^{3} + 2 \, {\left (6 \, a b^{2} c d^{2} e^{2} + b^{3} d^{2} e^{2}\right )} x^{2} + 3 \, {\left (b^{3} d^{3} e^{2} x^{3} + {\left (3 \, c d^{2} e^{2} - d^{2} e^{2}\right )} b^{3} x^{2} + {\left (3 \, c^{2} d e^{2} - 2 \, c d e^{2}\right )} b^{3} x + {\left (c^{3} e^{2} - c^{2} e^{2}\right )} b^{3}\right )} \log \left (d x + c + 1\right )^{2} + 4 \, {\left (3 \, a b^{2} c^{2} d e^{2} + b^{3} c d e^{2}\right )} x + 2 \, {\left (6 \, {\left (c^{3} e^{2} - c^{2} e^{2}\right )} a b^{2} + {\left (c^{3} e^{2} + e^{2}\right )} b^{3} + {\left (6 \, a b^{2} d^{3} e^{2} + b^{3} d^{3} e^{2}\right )} x^{3} + 3 \, {\left (b^{3} c d^{2} e^{2} + 2 \, {\left (3 \, c d^{2} e^{2} - d^{2} e^{2}\right )} a b^{2}\right )} x^{2} + 3 \, {\left (b^{3} c^{2} d e^{2} + 2 \, {\left (3 \, c^{2} d e^{2} - 2 \, c d e^{2}\right )} a b^{2}\right )} x\right )} \log \left (d x + c + 1\right )\right )} \log \left (-d x - c + 1\right )}{8 \, {\left (d x + c - 1\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int {\left (c\,e+d\,e\,x\right )}^2\,{\left (a+b\,\mathrm {atanh}\left (c+d\,x\right )\right )}^3 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ e^{2} \left (\int a^{3} c^{2}\, dx + \int a^{3} d^{2} x^{2}\, dx + \int b^{3} c^{2} \operatorname {atanh}^{3}{\left (c + d x \right )}\, dx + \int 3 a b^{2} c^{2} \operatorname {atanh}^{2}{\left (c + d x \right )}\, dx + \int 3 a^{2} b c^{2} \operatorname {atanh}{\left (c + d x \right )}\, dx + \int 2 a^{3} c d x\, dx + \int b^{3} d^{2} x^{2} \operatorname {atanh}^{3}{\left (c + d x \right )}\, dx + \int 3 a b^{2} d^{2} x^{2} \operatorname {atanh}^{2}{\left (c + d x \right )}\, dx + \int 3 a^{2} b d^{2} x^{2} \operatorname {atanh}{\left (c + d x \right )}\, dx + \int 2 b^{3} c d x \operatorname {atanh}^{3}{\left (c + d x \right )}\, dx + \int 6 a b^{2} c d x \operatorname {atanh}^{2}{\left (c + d x \right )}\, dx + \int 6 a^{2} b c d x \operatorname {atanh}{\left (c + d x \right )}\, dx\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________